const {
    Schema,
    model
} = require('mongoose');
// 配置数据模型
const paySetSchema = new Schema({
    paySetName: String,
    paySetPrice: String,
    projectName: String,
    payClassName: String,
    MathType: String,
    chargeNorm: String,
    communtiyId: {
        type: Schema.Types.ObjectId,
        ref: "communityModel"
    }

}, {
    versionKey: false
});

const paySetModel = model('paySetModel', paySetSchema, 'paySet');

//暴露出去
module.exports = {
    paySetModel
}

/*
项目类别
项目名称 名称是属于类别
*/